/**
 * 
 */
package org.yelongframework.image.resize;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

/**
 * 图片缩放器
 * 
 * @since 1.0.0
 */
public interface ImageResizer {

	// ==================================================调整大小==================================================

	/**
	 * 调整图片大小
	 * 
	 * @param inputStream           图片流
	 * @param outputStream          调整大小后输出到的流
	 * @param imageResizeProperties 图片调整大小属性
	 * @throws IOException 流异常
	 */
	void resize(InputStream inputStream, OutputStream outputStream, ImageResizeProperties imageResizeProperties)
			throws IOException;

}
